//
//  CAnimalProperty.h
//  MacConsole
//
//  Created by MacVM on 2024/1/1.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CAnimalProperty : NSObject
@property (nonatomic) int age;
@property (nonatomic, readonly) NSString *firstName;
@property (nonatomic, readonly) NSString *lastName;

//- (NSString*) ToString;

//- (NSString*) getName;
- (NSString*) getFullName;
- (void)setName:(NSString *)name;
- (void)setFullName:(NSString *)firstName lastName:(NSString *)lastName;
//- (void)setAge:(int)age;
- (void)setAll:(int)age firstName:(NSString*)firstName lastName:(NSString*)lastName;

- (void)Shout;

@end

NS_ASSUME_NONNULL_END
